package com.iplay.thezen.visitor;

/**
 * 抽象元素
 * @author dangwu
 * @since 2021/9/24 2:57 下午
 */
public abstract class Element {
    //定义业务逻辑
    public abstract void doSomething();
    //允许谁来访问
    public abstract void accept(IVisitor iVisitor);

}
